//
//  WD_ZiLiaoCollection.m
//  BUDING
//
//  Created by 景强 on 16/4/9.
//  Copyright © 2016年 HanWoonYong. All rights reserved.
//

#import "WD_ZiLiaoCollection.h"

@implementation WD_ZiLiaoCollection



- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        self.imagePicOne = [[UIImageView alloc] initWithFrame:CGRectMake(30, 30, 40, 40)];
        self.imagePicOne.layer.masksToBounds = YES;
        self.imagePicOne.layer.cornerRadius = self.imagePicOne.frame.size.width / 2;
        [self.contentView addSubview:self.imagePicOne];
        self.labelOne = [[UILabel alloc] initWithFrame:(CGRectMake(25, 80, 50, 40))];
        self.labelOne.font = [UIFont systemFontOfSize:13];
        self.labelOne.textAlignment = NSTextAlignmentCenter;
        
        self.labelOne.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.labelOne];
        self.labelCountOne = [[UILabel alloc] initWithFrame:CGRectMake(40, 130, 50, 40)];
        [self.contentView addSubview:self.labelCountOne];
    }
    
    
    return self;
    
}


































/*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.
 - (void)drawRect:(CGRect)rect {
 // Drawing code
 }
 */

@end
